<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .main{
            background-color: #fb0707;
        }
        .center{
            background-color: #f65656;
            width: 1000px;
            margin: 0 auto;
        }
        .card{
            width: 200px;
            height: 200px;
            border: 1px solid red;
            background-color: #f3aaaa;
            text-align: center;
            line-height: 200px;
            margin:0 auto;/*居中*/
        }
    </style>
</head>
<body>
<div class="main">
    <div class="center">
        <div class="card"> woshineirong1</div>
        <div class="card"> woshineirong1</div>
        <div class="card"> woshineirong1</div>
    </div>
</div>
</body>
</html>